<div class="topPaginator">
    <span class="signsName"><?=(isset($item['name']))?$item['name']:'All Signs';?></span>
    <?=$page;?>
</div>
<div class="signsContent">
    <?if(is_array($result)) :?>
        <?foreach($result as $key=>$value):?>
            <div class="viewSign">
                <div class="previewSigns">
                    <img src="<?=(isset($value['catalogImage'])) ? $value['catalogImage'] : '';?>" />
                </div>
                <div class="spanSignsView blueFon">
                    <a href="<?=(isset($value['fullImage'])) ? $value['fullImage'] : '';?>" 
                       rel="prettyPhoto" title="<?=(isset($value['name'])) ? $value['name'] : '';?>">VIEW IT</a>
                </div>
                <div class="spanSignsBuy blueFon">
                    <a href="/signs/show/<?=$value['id'];?>">BUY IT</a>
                </div>
            </div>
        <?endforeach;?>
    <?endif;?>
    <?if ($page):?>
        <? // Set 6 to 11 after finish test
        if (count($result)== 6 && $page->count > $page->current):?>
            <div class="viewSign">
                <a id="gotNextPage" href="<?=$page->link.($page->current+1);?>">
                    <span>
                        GO TO <br />
                        NEXT PAGE<br />
                        CLICK HERE
                    </span>
                </a>
            </div>
        <?endif;?>
    <?endif;?>
</div>
<div class="bottomPaginator">
    <div class="signsButtons">
        <div class="rightArrowLeft"></div>
        <a href="#" class="shippingCard">
            <span class="blueMessege">VIEW CART</span>
        </a>
    </div>
    <div class="signsButtons">
        <div class="rightArrowLeft"></div>
        <a href="#">
            <span class="blueMessege">CHECKAUT</span>
        </a>
    </div>
    <?=$page;?>
</div>
<div id="middleBlock">
    <?=$midleBlock;?>
</div>